
#ifndef _DISPLAY_MANAGER_H
#define _DISPLAY_MANAGER_H

typedef struct DisplayOpr{
	char *name;
	int iBpp;
	int iXres;
	int iYres;
	int (*DeviceInit)(void);
	int (*ShowPixel)(int iPenX, int iPenY, unsigned int dwColor);
	int (*ClearScreen)(unsigned int dwColor);
	struct DisplayOpr *ptNext;
}T_DisplayOpr, *PT_DisplayOpr;

int RegisterDisplayOpr(PT_DisplayOpr ptDisplayOpr);
void ShowDisplayOpr(void);
PT_DisplayOpr GetDisplayOpr(char *name);
int DisplayInit(void);
int FBRegister(void);

#endif


